package com.ruoyi.system.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 电对象 meter
 * 
 * @author ruoyi
 * @date 2021-10-28
 */
public class Meter extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private Long id;

    /** 租户id */
    @Excel(name = "租户id")
    private String tenantId;

    /** 房间号 */
    @Excel(name = "房间号")
    private String room;

    /** 租户姓名 */
    @Excel(name = "租户姓名")
    private String tenantName;

    /** 联系手机 */
    @Excel(name = "联系手机")
    private String phone;

    /** 电表id */
    @Excel(name = "电表id")
    private String meterId;

    /** 电表值 */
    @Excel(name = "电表值")
    private BigDecimal meterValue;

    /** 电表预警 */
    @Excel(name = "电表预警")
    private BigDecimal meterWarn;

    /** 充值按键 */
    @Excel(name = "充值按键")
    private String rechargeKey;

    /** 充值按键 */
    @Excel(name = "充值按键")
    private String updateKey;

    /** 充值按键 */
    @Excel(name = "充值按键")
    private String infoKey;

    /** 创建人 */
    @Excel(name = "创建人")
    private Long createUser;

    /** 创建部门 */
    @Excel(name = "创建部门")
    private Long createDept;

    /** 修改人 */
    @Excel(name = "修改人")
    private Long updateUser;

    /** 状态 */
    @Excel(name = "状态   1开启  2关闭")
    private Integer status;
    
    private Integer overall;


    /** 逻辑删除 0-正常 1-已删除 */
    @Excel(name = "逻辑删除 0-正常 1-已删除")
    private Integer isDeleted;
    
    

    public Integer getOverall() {
		return overall;
	}

	public void setOverall(Integer overall) {
		this.overall = overall;
	}

	public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setTenantId(String tenantId) 
    {
        this.tenantId = tenantId;
    }

    public String getTenantId() 
    {
        return tenantId;
    }
    public void setRoom(String room) 
    {
        this.room = room;
    }

    public String getRoom() 
    {
        return room;
    }
    public void setTenantName(String tenantName) 
    {
        this.tenantName = tenantName;
    }

    public String getTenantName() 
    {
        return tenantName;
    }
    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }
    public void setMeterId(String meterId) 
    {
        this.meterId = meterId;
    }

    public String getMeterId() 
    {
        return meterId;
    }
    public void setMeterValue(BigDecimal meterValue) 
    {
        this.meterValue = meterValue;
    }

    public BigDecimal getMeterValue() 
    {
        return meterValue;
    }
    public void setMeterWarn(BigDecimal meterWarn) 
    {
        this.meterWarn = meterWarn;
    }

    public BigDecimal getMeterWarn() 
    {
        return meterWarn;
    }
    public void setRechargeKey(String rechargeKey) 
    {
        this.rechargeKey = rechargeKey;
    }

    public String getRechargeKey() 
    {
        return rechargeKey;
    }
    public void setUpdateKey(String updateKey) 
    {
        this.updateKey = updateKey;
    }

    public String getUpdateKey() 
    {
        return updateKey;
    }
    public void setInfoKey(String infoKey) 
    {
        this.infoKey = infoKey;
    }

    public String getInfoKey() 
    {
        return infoKey;
    }
    public void setCreateUser(Long createUser) 
    {
        this.createUser = createUser;
    }

    public Long getCreateUser() 
    {
        return createUser;
    }
    public void setCreateDept(Long createDept) 
    {
        this.createDept = createDept;
    }

    public Long getCreateDept() 
    {
        return createDept;
    }
    public void setUpdateUser(Long updateUser) 
    {
        this.updateUser = updateUser;
    }

    public Long getUpdateUser() 
    {
        return updateUser;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }
    public void setIsDeleted(Integer isDeleted) 
    {
        this.isDeleted = isDeleted;
    }

    public Integer getIsDeleted() 
    {
        return isDeleted;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("tenantId", getTenantId())
            .append("room", getRoom())
            .append("tenantName", getTenantName())
            .append("phone", getPhone())
            .append("meterId", getMeterId())
            .append("meterValue", getMeterValue())
            .append("meterWarn", getMeterWarn())
            .append("rechargeKey", getRechargeKey())
            .append("updateKey", getUpdateKey())
            .append("infoKey", getInfoKey())
            .append("remark", getRemark())
            .append("createUser", getCreateUser())
            .append("createDept", getCreateDept())
            .append("createTime", getCreateTime())
            .append("updateUser", getUpdateUser())
            .append("updateTime", getUpdateTime())
            .append("status", getStatus())
            .append("isDeleted", getIsDeleted())
            .toString();
    }
}
